<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<div class="maindiv">
	<sf:form modelAttribute="participantObj">
		<h3>Participant</h3>

		<table class="tblparticipant">
			<tr>
				<td>Salutation</td>
				<td><sf:select path="salutation">
						<sf:option value="">--Select--</sf:option>
						<sf:option value="Mr">Mr</sf:option>
						<sf:option value="Ms">Ms</sf:option>
						<sf:option value="Mrs">Mrs</sf:option>
						<sf:option value="Dr">Dr</sf:option>
						<sf:option value="Prof">Prof</sf:option>
					</sf:select></td>
			</tr>
			
			<tr>
				<td>Others</td>
				<td><sf:input path="salutationOther" /> <sf:errors
						path="salutation" cssClass="error" /><br /></td>
						
			</tr>


			<tr>
				<td>First name</td>
				<td><sf:input path="firstName" size="60" maxlength="200" /> <sf:errors path="firstName"
						cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Middle name</td>
				<td><sf:input path="middleName" size="60" maxlength="200" /> <sf:errors
						path="middleName" cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Last name</td>
				<td><sf:input path="lastName" size="60" maxlength="200" /> <sf:errors path="lastName"
						cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Badge name</td>
				<td><sf:input path="badgeName" size="20" maxlength="20" /> <sf:errors
						path="badgeName" cssClass="error" /><br /><br /></td>
			</tr>



			<tr>
				<td>Designation</td>
				<td><sf:input path="designation" size="60" maxlength="200"/> <sf:errors
						path="designation" cssClass="error" /><br /><br /></td>
			</tr>



			<tr>
				<td>Telephone no</td>
				<td><sf:input path="telephone" size="20" maxlength="20" /> <sf:errors path="telephone"
						cssClass="error" /><br /></td>
			</tr>



			<tr>
				<td>Fax no</td>
				<td><sf:input path="fax" size="20" maxlength="20"/> <sf:errors path="fax"
						cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Mobile no</td>
				<td><sf:input path="mobile" size="20" maxlength="20"/> <sf:errors path="mobile"
						cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Company Email</td>
				<td><sf:input path="email" size="60" maxlength="200"/> <sf:errors path="email"
						cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td>Alternative Email</td>
				<td><sf:input path="alternativeEmail" size="60" maxlength="200"/> <sf:errors
						path="alternativeEmail" cssClass="error" /><br /></td>
			</tr>


			<tr>
				<td colspan="2">
					<table>
						<tr>
							<td><br />

								<h3>Programme Selections</h3>
								<div>
									<sf:checkbox path="main" label=" Main Conference" />
									<sf:errors path="main" cssClass="error" />
									<br /> <br />
									<sf:radiobutton path="breakout1" value="1"
										label=" Breakout Session 1A" />
									&nbsp;
									<sf:radiobutton path="breakout1" value="2"
										label=" Breakout Session 1B" />
									<sf:errors path="breakout1" cssClass="error" />
									<br /> <br />
									<sf:radiobutton path="breakout2" value="1"
										label=" Breakout Session 2A" />
									&nbsp;
									<sf:radiobutton path="breakout2" value="2"
										label=" Breakout Session 2B" />
									<sf:errors path="breakout2" cssClass="error" />
									<br /> <br />
									<sf:checkbox path="post1" label=" Post Conference Workshop 1" />
									<sf:errors path="post1" cssClass="error" />
									<br /> <br />
									<sf:checkbox path="post2" label=" Post Conference Workshop 2" />
									<sf:errors path="post2" cssClass="error" />
									<br />
								</div> <br /></td>

						</tr>
					</table>

				</td>
			<tr />
		</table>


		<div class="butdiv">
			<input type="submit" name="_eventId_next" value="Save"> <input
				type="submit" name="_eventId_back" value="Cancel"> <input
				type="submit" name="_eventId_clear"
				value="Reset Programme Selection"> <input type="hidden"
				name="_flowExecutionKey" value="${flowExecutionKey}" />
		</div>

	</sf:form>
</div>
